import Views from "../../views/index.vue";

const route = [
    {
        path: "/lifeCycle",
        name: "life",
        component: Views,
        redirect: "/lifeCycle/lifeCycle",
        meta: { title: "生命周期", icon: "el-icon-table-lamp" },
        children: [
            {
                path: "lifeCycle",
                name: "lifeCycle",
                component: () => import("../../pages/lifeCycle/index.vue"),
                meta: { title: "生命周期" },
            }
        ],
    },
];

export default route;
